eltopo3di = 'E:\code\eltopo3d\include';
eltopo3dl = 'E:\code\eltopo3d\lib';
imager3di = 'E:\code\imager3d\include';
imager3dl = 'E:\code\imager3d\lib';

gsli = 'E:\Program Files\GSL\include'
gsll = 'E:\Program Files\GSL\lib';

% mikei = 'E:\code\test\include';
% mikel = 'E:\code\test\lib';

ipath1 = ['-I', eltopo3di];
lpath1 = ['-L', eltopo3dl];
ipath2 = ['-I', imager3di];
lpath2 = ['-L', imager3dl];

ipath4 = ['-I', gsli];
lpath4 = ['-L', gsll];

% ipath = ['-I', mikei]
% lpath = ['-L', mikel]

% mex('-v', ipath, lpath, '-lmike', 'zyf.cpp')

mex('-v', ipath1, lpath1, ipath2, lpath2, ipath4, lpath4, '-leltopo', '-limager', '-lcblas', '-lgsl', 'ElTopoWraper.cpp')